const getters = {
    theme: state => state.settings.theme,
    sidebar: state => state.app.sidebar,
    language: state => state.app.language,
    size: state => state.app.size,
    device: state => state.app.device,
    platform: state => state.app.platform,
    platformTips: state => state.app.platformTips,
    rightPanel: state => state.app.rightPanel,
    visitedViews: state => state.tagsView.visitedViews,
    cachedViews: state => state.tagsView.cachedViews,
    token: state => state.user.token,
    avatar: state => state.user.avatar,
    name: state => state.user.name,
    userId: state => state.user.userId,
    roles: state => state.user.roles,
    roleName: state => state.user.roleName,
    platformAuth: state => state.user.platformAuth,
    permission_routes: state => state.permission.routes,
    baseRoutesMap: state => state.permission.baseRoutesMap,
    errorLogs: state => state.errorLog.logs,

}
export default getters
